package com.me.dogdog.entity

import com.baomidou.mybatisplus.annotation.IdType
import com.baomidou.mybatisplus.annotation.TableId
import com.baomidou.mybatisplus.annotation.TableName
import io.swagger.v3.oas.annotations.media.Schema
import java.io.Serializable
import java.time.LocalDate


/**
 * <p>
 *
 * </p>
 *
 * @author Marblog
 * @since 2021-12-08
 */
@TableName("sys_main")
@Schema(name = "SysMain对象", description = "SysMain对象")
class SysMain : Serializable {

    @Schema(name = "自增主键", title = "id")
    @TableId(value = "id", type = IdType.AUTO)
    var id: Int? = null

    @Schema(name = "主要内容")
    var content: String? = null

    @Schema(name = "日期")
    var contentDate: LocalDate? = null

    @Schema(name = "天气")
    var weather: String? = null

    @Schema(name = "添加人")
    var sysUser: String? = null
}
